import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// antd vue3
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
// 全局注册一个组件
import TreeMenus from './components/TreeMenus.vue'

const app = createApp(App)

// vue3全局注册组件
app.component('TreeMenus', TreeMenus)

app.use(Antd).use(store).use(router).mount('#app')
